package com.azf.springboot2.demos.mapper;

import com.azf.springboot2.demos.entity.StudentList;
import com.azf.springboot2.demos.entity.vo.StudentGradVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface Vomapper {
    //@Select("select l.name,l.class_name,g.grad from student_list l join grad  g where l.id=g.name")
    List<StudentGradVO> list();

    void insert(StudentList vo);

    void update(StudentGradVO vo);

    void delete(Integer id);
}
